package dataservice.userdataservice;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import po.*;

public interface StudentDataService  extends Remote{
	public void init() throws RemoteException;

	public void finish() throws RemoteException;

	public boolean insert(StudentPO po) throws RemoteException;

	public boolean delete(String id) throws RemoteException;

	public boolean update(StudentPO po) throws RemoteException;

	public StudentPO find(String id) throws RemoteException;
	
	public ArrayList<StudentPO> find(Institute institute) throws RemoteException;
	
	public ArrayList<StudentPO> find(Institute institute, int year) throws RemoteException;

}
